package org.abc;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

public class LogTest {
    static Logger logger = LogManager.getLogger(LogTest.class);

    public static void log() {
        for (int i = 0; i < 100; i++) {
            logger.trace("========LogTest trace level {}", i);
            logger.debug("========LogTest debug level");
            logger.info("========LogTest info level");
            logger.warn("========LogTest warn level");
            logger.error("========LogTest error level");
            logger.fatal("========LogTest fatal level");
        }
    }
}
